home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / sml_nj / 93src.lha / src / runtime / request.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-09  |  485 b   |  28 lines

  1. /* request.h
  2.  *
  3.  * COPYRIGHT (c) 1990 by AT&T Bell Laboratories.
  4.  *
  5.  * These are the request codes for controlling the run_ml() loop.
  6.  */
  7.  
  8. #ifndef _REQUEST_
  9. #define _REQUEST_
  10.  
  11. #define REQ_RETURN    0
  12. #define REQ_EXN        1
  13. #define REQ_FAULT    2
  14. #define REQ_GC        3
  15. #define REQ_CALLC    4
  16. #define REQ_SIGNAL    5
  17. #define REQ_SIG_RETURN    6
  18. #define REQ_SIG_RESUME    7
  19. #define REQ_SIG_RAISE    8
  20. #define REQ_RUN         9
  21.  
  22. #ifndef ASM
  23. /* extern int    request; -- per thread now */
  24. #endif
  25.  
  26. #endif /* !_REQUEST_ */
  27.  
  28.